projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b41856f
)
(w32_text_out): Use s->font, for consistency with callers.
author
Jason Rumney
<jasonr@gnu.org>
Thu, 1 Jan 2004 22:51:02 +0000
(22:51 +0000)
committer
Jason Rumney
<jasonr@gnu.org>
Thu, 1 Jan 2004 22:51:02 +0000
(22:51 +0000)
src/w32term.c
patch
|
blob
|
history
diff --git
a/src/w32term.c
b/src/w32term.c
index d7248499c220f13e3f0e68cd5adc04c748826992..ac4e998fed9dc45e06fa91edb662d062ac2fa8e0 100644
(file)
--- a/
src/w32term.c
+++ b/
src/w32term.c
@@
-1121,9
+1121,9
@@
w32_text_out (s, x, y,chars,nchars)
wchar_t * chars;
int nchars;
{
- int charset_dim = w32_font_is_double_byte (s->
gc->
font) ? 2 : 1;
- if (s->
gc->
font->bdf)
- w32_BDF_TextOut (s->
gc->
font->bdf, s->hdc,
+ int charset_dim = w32_font_is_double_byte (s->font) ? 2 : 1;
+ if (s->font->bdf)
+ w32_BDF_TextOut (s->font->bdf, s->hdc,
x, y, (char *) chars, charset_dim,
nchars * charset_dim, 0);
else if (s->first_glyph->font_type == UNICODE_FONT)